package com.tbit.uqbike.service.business;

import com.tbit.uqbike.object.pojo.dto.*;
import com.tbit.uqbike.object.pojo.vo.AdvanceDepositDetailVO;
import com.tbit.uqbike.object.pojo.vo.AdvanceDepositTotalDetailVO;
import com.tbit.uqbike.object.pojo.vo.AdvanceDepositTotalIncomeVO;
import com.tbit.uqbike.object.pojo.vo.AdvanceDepositVO;
import com.tbit.common.entity.view.PageResult;

import java.io.File;
import java.util.List;

public interface AdvanceDepositStatService {
    Long getLastTime(List<Integer> accountIds);

    AdvanceDepositTotalDetailVO getTotalDetail(StatDetailDTO dto);

    PageResult<AdvanceDepositDetailVO> getDetailPage(StatDetailPageDTO dto);

    String exportDetail(StatDetailDownloadDTO dto);


    AdvanceDepositTotalIncomeVO getTotalIncome(AdvanceDepositIncomeDTO dto);


    PageResult<AdvanceDepositVO> getIncomePage(AdvanceDepositIncomePageDTO dto);


    String exportIncome(AdvanceDepositIncomeDownloadDTO dto);

    File exportIncome(AdvanceDepositIncomeDownloadDTO dto, File tempFile);
}
